package com.locatme.modelBD;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

public class GestionBD {
    protected SQLiteDatabase db;
    protected SQLiteOpenHelper dbHelper;

    public GestionBD(Context context) {
        dbHelper = new BdLocatme(context);
    }

    public void open() {
        db = dbHelper.getWritableDatabase();
    }

    public void close() {
        dbHelper.close();
    }
}
